# custom_importer.py
import sys


class CustomImporter:
    def find_spec(self, fullname, path, target=None):
        # 自定义的导入逻辑
        print(f"CustomImporter: Finding spec for {fullname}")
        return None


sys.meta_path.insert(0, CustomImporter())
